package com.lijiajia.cloud.service.auth.client;

import com.lijiajia.cloud.common.core.business.BusinessStatus;

public enum ClientBusinessStatus implements BusinessStatus {
    USER_NOT_FOUND("用户 \"%s\" 不存在"),
    CLIENT_NOT_FOUND("客户端 \"%s\" 不存在"),
    ;

    private String msg;

    ClientBusinessStatus(String msg) {
        this.msg = msg;
    }

    @Override
    public String code() {
        return name().toLowerCase();
    }

    @Override
    public String msg() {
        return msg;
    }
}
